package com.ruoyi.yunxin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小号绑定记录对象 t_middle_relation
 * 
 * @author ruoyi
 * @date 2025-04-10
 */
public class MiddleRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 绑定 ID */
    @Excel(name = "绑定 ID")
    private String bindId;

    /** 技师 */
    @Excel(name = "技师")
    private Long tid;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 绑定的小号 */
    @Excel(name = "绑定的小号")
    private String middleNumber;

    /** 技师手机号 */
    @Excel(name = "技师手机号")
    private String bindNumberA;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String bindNumberB;

    /** 绑定关系 */
    @Excel(name = "绑定关系")
    private Integer bindStatus;

    /** 逻辑删除（0=未删除，1=已删除） */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBindId(String bindId) 
    {
        this.bindId = bindId;
    }

    public String getBindId() 
    {
        return bindId;
    }
    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMiddleNumber(String middleNumber) 
    {
        this.middleNumber = middleNumber;
    }

    public String getMiddleNumber() 
    {
        return middleNumber;
    }
    public void setBindNumberA(String bindNumberA) 
    {
        this.bindNumberA = bindNumberA;
    }

    public String getBindNumberA() 
    {
        return bindNumberA;
    }
    public void setBindNumberB(String bindNumberB) 
    {
        this.bindNumberB = bindNumberB;
    }

    public String getBindNumberB() 
    {
        return bindNumberB;
    }
    public void setBindStatus(Integer bindStatus) 
    {
        this.bindStatus = bindStatus;
    }

    public Integer getBindStatus() 
    {
        return bindStatus;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bindId", getBindId())
            .append("tid", getTid())
            .append("userId", getUserId())
            .append("middleNumber", getMiddleNumber())
            .append("bindNumberA", getBindNumberA())
            .append("bindNumberB", getBindNumberB())
            .append("bindStatus", getBindStatus())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
